package com.lxw.nonghe.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lxw.nonghe.entity.PolicyAttachment;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 政策附件表 服务类
 * </p>
 *
 * @author lxw
 * @since 2025-05-14
 */
public interface PolicyAttachmentService extends IService<PolicyAttachment> {

    Page<PolicyAttachment> getAttachmentPage(
            int current, int size,
            Integer policyId, String attachmentName);

    // 条件查询实现
    Page<PolicyAttachment> queryAttachments(
            PolicyAttachment queryParam,
            int current, int size);
}
